Commit Graph

51 Commits (40521c75f5846b1b199c44abd0c32fb1985c742d)

Author SHA1 Message Date
SilverNexus 72c83cfec0 Actually fix the Dex-only debuff this time.
Had to reorder the clauses even when inverting the calc.
2023-04-17 14:42:51 -04:00
SilverNexus 0d1d8d831f Fix incorrect handling of debuff on ring of Occidental Mages.
Now we can get Int and Con penalties too.
2023-04-17 14:31:31 -04:00
SilverNexus 60f793b38d Fix copypasta condition error that would cause a few extra silver coins on sale. 2022-12-08 15:23:00 -05:00
Kevin Zheng a41717b8dc Disallow buying negative mana 2022-05-17 23:11:40 -07:00
Kevin Zheng 9489ac64e4 Add power broker, a glowing crystal that sells mana 2022-05-17 22:22:52 -07:00
Kevin Zheng 82079a2faa Add script for amulet of finding
These pieces of jewelry help players remember locations on the world
map. Players can bind an amulet at any location on the world map.
Applying a bound amulet shows players a message indicating which
direction they should travel to return to the bound location.

Since this shares some code with the Rhyzian amulet, move the shared
code to CFWorld. While here, improve the getdir() function to round the
direction to the closest compass direction.
2022-03-27 22:30:53 -07:00
Kevin Zheng 8249250568 New quest: Journey to the East
Find your way to the long-isolated island of Azumauindo.

This quest replaces the old way of getting to Azumauindo. Extend
Roll-o-Matic to work with ships. Improve QuestApplyIf to work on objects
whose apply event is also implemented using the plugin system.

Special thanks to:  Jason Zheng
2022-01-03 18:43:13 -06:00
SilverNexus a5a2649089 Fix a space/tab error in ring of occidental mages python script. 2021-10-03 12:04:16 -04:00
ryo_saeba f07e438d1b Fix type error by converting explicitely to int.
Display message only if the wielder is a player.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@22059 282e977c-c81d-0410-88c4-b93c2d0d6712
2021-04-07 18:35:48 +00:00
ryo_saeba 78e2a9e5a2 Let monsters be killed.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21985 282e977c-c81d-0410-88c4-b93c2d0d6712
2021-02-18 21:18:28 +00:00
ryo_saeba 8d8bbdcb39 Use 'Cast' instead of 'CastAbility'.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21604 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-12-12 16:44:09 +00:00
ryo_saeba 4318122384 Add spell casting script for arrows, adapted from patch https://sourceforge.net/p/crossfire/patches/364/
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21599 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-12-12 16:12:36 +00:00
silvernexus 647022710c Adjust weapon of Souls python code to use TotalExp field instead of PermExp
Requires server r21321, recommended to use server r21326 with this change. Some builds produce a barfing cfpython plugin in r21321, while some don't. All should work in r21326.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21327 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-09-02 01:32:14 +00:00
silvernexus 7ecd9c667a Add condition to make item reset in lose_buffs_on_drop.py only occur if the items has been used since last time it was reset.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21301 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-08-23 02:39:00 +00:00
silvernexus f7c5f34c40 Add scripts for \(weapon\) of Souls. Depends on r21252 and r21253.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21254 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-08-07 04:13:52 +00:00
silvernexus 4baaabc21b Add a clause that only applies the curse when wielding, rather than both wielding and unwielding. Also add known_cursed to the affected fields so it shows up as cursed.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21251 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-08-07 00:50:43 +00:00
silvernexus 7f10491a7d Add a script to allow for items that don't detect as cursed, but become cursed when applied.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@21250 282e977c-c81d-0410-88c4-b93c2d0d6712
2020-08-06 13:47:10 +00:00
partmedia 2e7ad261c0 Always print message when stopping
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20962 282e977c-c81d-0410-88c4-b93c2d0d6712
2019-08-17 05:55:09 +00:00
partmedia 4ef80d1a51 Add herustic to get cart stuck less often
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20959 282e977c-c81d-0410-88c4-b93c2d0d6712
2019-08-17 05:54:39 +00:00
ryo_saeba 68d0bf7bea @ correctly split rings of Occidental Mages if needed before applying an effect.
This fixes issue #852.


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20809 282e977c-c81d-0410-88c4-b93c2d0d6712
2019-05-17 17:28:37 +00:00
partmedia b6f456c365 Move deposit box code to separate file
Give deposit boxes their own script and update all the banks.

git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20450 282e977c-c81d-0410-88c4-b93c2d0d6712
2017-07-27 06:35:26 +00:00
akirschbaum c018d89c01 Remove redundant semicolons.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@20286 282e977c-c81d-0410-88c4-b93c2d0d6712
2016-06-19 15:19:52 +00:00
kstenger 5eb73d7cbf Using the new Crossfire.AttackMovement.PETMOVE constants.
Reduce the affected area to the surrounding 10x10 square.



git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18831 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-07-23 19:53:32 +00:00
kstenger a253caa600 New item: magic pet's whistle.
Why this item:
    In some cases pets may get angry at their owner and attack him.
    This whistle intends to give the player a chance to make his pets friendly again.
    This won't prevent the pet from getting angry again for whatever reason, which
    is ok.

Including: archetype, image, treasure list (for the whistle inventory to work 
           properly), python script which makes the "real work".

Hope to add a map soon to make this available to the players.

A    maps/trunk/python/items/magic_whistle.py
A    arch/trunk/misc/magic_whistle.trs
A    arch/trunk/misc/magic_whistle.arc
AM   arch/trunk/misc/magic_whistle.base.111.png


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18827 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-07-23 18:56:37 +00:00
akirschbaum 5e430c833f Remove trailing whitespace.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@18703 282e977c-c81d-0410-88c4-b93c2d0d6712
2013-05-09 11:08:11 +00:00
ryo_saeba 56bf2a1322 Simplify script.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@17963 282e977c-c81d-0410-88c4-b93c2d0d6712
2012-04-15 16:06:34 +00:00
ryo_saeba ca573b45e7 Enable the doors to be lockpicked.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@17961 282e977c-c81d-0410-88c4-b93c2d0d6712
2012-04-15 12:50:43 +00:00
ryo_saeba fa4d205af9 Script for lockable doors.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@17958 282e977c-c81d-0410-88c4-b93c2d0d6712
2012-04-15 10:19:05 +00:00
ryo_saeba b5a0b9a37e Script to punish a player from killing a NPC.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13320 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-05-29 19:54:58 +00:00
ryo_saeba 0559e8bc68 Fix import before comment.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13318 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-05-29 19:51:24 +00:00
ryo_saeba 1fe17f133c Script to punish tring to sell a protected item.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@13315 282e977c-c81d-0410-88c4-b93c2d0d6712
2010-05-29 18:23:27 +00:00
anmaster a8cab01c4b Minor code cleanup in some python modules (removing unused variables, cleaning up some if tests, removing import statements for some modules that were then never used.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@12197 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-10-14 16:13:29 +00:00
anmaster f117ef543f Fix division error in /python/items/banquet.py
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11447 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-02-11 21:02:23 +00:00
anmaster f7fc91ba12 Limit allowed range of stats for rings of Occidental Mages in /python/items/ring_occidental_mages.py
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11414 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-02-09 17:44:51 +00:00
anmaster 6571131b4c Fix part 1 of bug 2369423 ("occidental mages weapons bugs"). Part 1 is weapon speed going the wrong way.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11337 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-02-04 17:08:57 +00:00
anmaster fdbcb1b6ff Run whitespace cleanup script in maps/python.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@11283 282e977c-c81d-0410-88c4-b93c2d0d6712
2009-01-30 01:22:22 +00:00
bbotbuilder 5fba0abedb python/items/ring_occidental_mages.py:
* fixed typo (thanks goes to buzzsaw)


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@9729 282e977c-c81d-0410-88c4-b93c2d0d6712
2008-08-11 05:56:51 +00:00
ryo_saeba d546bf6a8e Fun item Eracc can use for his maps :)
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@7570 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-11-24 23:28:05 +00:00
ryo_saeba 58defe2894 Fix damage getting really big, more fun effects.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6733 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-06-30 21:58:54 +00:00
ryo_saeba 3f9e90d075 Experience rewarder script.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6415 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-06-04 18:38:35 +00:00
ryo_saeba d366678c26 Final steps and scripts for the Lursendis quest.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6405 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-06-03 16:02:23 +00:00
ryo_saeba 0dc753ac81 Smoking pipe script.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6182 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-05-05 16:56:02 +00:00
ryo_saeba 5f1609c4f9 Wagon that should facilitate player's moving between towns.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6148 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-04-29 16:21:23 +00:00
ryo_saeba a4cb2ddb5a Adapt scripts to latest Python plugin.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@6087 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-04-21 22:44:30 +00:00
akirschbaum 8de8411641 Remove trailing whitespace.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5862 282e977c-c81d-0410-88c4-b93c2d0d6712
2007-03-24 13:15:00 +00:00
qal21 4505f8df6e Add Rhyzian amulet quest.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@5000 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-10-06 18:40:46 +00:00
ryo_saeba f35b57e7d7 Talking fireplace scripts.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@4826 282e977c-c81d-0410-88c4-b93c2d0d6712
2006-08-21 21:48:14 +00:00
gros 044d3851de Update of the Global Events scripts to the new 2.0 CFPython.
Update of the Guild-related scripts to the new 2.0 CFPython.
Update of the remaining scripts to the new 2.0 CFPython.
Gros - 18/10/2005


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3901 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-10-18 18:53:37 +00:00
ryo_saeba 1b4bfe0c53 GPS script
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3840 282e977c-c81d-0410-88c4-b93c2d0d6712
2005-10-08 09:47:06 +00:00
temitchell 32e9cfab2c - remove item scripts long ago moved into items
- update scripts to remove path (init script does it for us)


git-svn-id: svn://svn.code.sf.net/p/crossfire/code/trunk/maps@3003 282e977c-c81d-0410-88c4-b93c2d0d6712
2004-12-06 04:48:06 +00:00